package com.example.demo.service;


import com.example.demo.entity.Resource;
import com.example.demo.entity.Resourcetype;
import com.example.demo.pojo.PlannerResult;
import com.example.demo.vo.ResourceVo;
import com.example.demo.vo.Resource_applyVo;
import com.example.demo.vo.ResourcetypeVo;
import org.springframework.stereotype.Service;

import java.util.List;


@Service
public interface ResourceService {

    PlannerResult<List<Resourcetype>> all_resource_type();

    PlannerResult<String> add_resource_type(ResourcetypeVo resourcetypeVo);

    PlannerResult<String> add_resource(ResourceVo resourceVo);

    PlannerResult<Resource> apply_resource(Resource_applyVo resourceApplyVo);

    PlannerResult<Resource> detect_resource(Integer applyid);

}
